#pragma once
#include "vertex_description.h"
#include "vertex_uv.h"
#include "basic_vertex.h"
#include "vector3.h"

namespace krryn{
namespace scene{
#pragma pack(push)
#pragma pack(1)
	class vertex : public basic_vertex
	<
		vertex_position<vertex>, // 3 * 4 = 12
		vertex_no_color, // 0
		//vertex_color<vertex>,
		vertex_no_normal, // 0
		vertex_uv<vertex, 2> // 2 * 4
	>
	{
	public:
		vertex() {}

		vertex(const math::vector3f &a_Position){
			position(a_Position);
		}

		vertex(float a_X, float a_Y, float a_Z) {
			position(math::vector3f(a_X, a_Y, a_Z));
		}
	};
#pragma pack(pop)
}
}